package com.ljx.qqpro.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ljx.qqpro.common.utils.PageUtil;
import com.ljx.qqpro.common.utils.Query;

import com.ljx.qqpro.dao.ChatNoticeDao;
import com.ljx.qqpro.entity.ChatNoticeEntity;
import com.ljx.qqpro.service.ChatNoticeService;


@Service("chatNoticeService")
public class ChatNoticeServiceImpl extends ServiceImpl<ChatNoticeDao, ChatNoticeEntity> implements ChatNoticeService {

    @Override
    public PageUtil queryPage(Map<String, Object> params) {
        IPage<ChatNoticeEntity> page = this.page(
                new Query<ChatNoticeEntity>().getPage(params),
                new QueryWrapper<ChatNoticeEntity>()
        );

        return new PageUtil(page);
    }

}